<template>
    <div class="change-view">
        <FilterList />
        <BottomNav/>
    </div>
</template>

<script>
import FilterList from '../components/Filter/FilterList.vue'
import BottomNav from '../components/BottomNav.vue'

export default {
    name: 'RankView',
    components: {
        BottomNav,
        FilterList
    },
    data() {
        return {
        }
    },
}
</script>

<style scoped>
.change-view {
    padding: 20px;
    padding-bottom: 100px; /* 为底部导航栏留出空间 */
    background-color: #f5f5f5;
    height: 640px;
}
.tabs {
    padding-bottom: 5px;
}
.tabs * {
    text-decoration: none;
}

.tab {
    display: inline-block;
    padding: 5px 20px;
    color: #333;
    font-size: 16px;
    margin-left: 10px;
}
.tab:hover {
    border-bottom: 2px solid #1890ff;
    cursor: pointer;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .change-view {
        padding: 15px;
        padding-bottom: 90px;
    }

    .tabs {
        padding-bottom: 3px;
    }

    .tab {
        padding: 8px 15px;
        font-size: 14px;
    }

    .stock-table th,
    .stock-table td {
        padding: 10px 6px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .change-view {
        padding: 10px;
        padding-bottom: 80px;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 6px 12px;
        font-size: 13px;
    }

    .stock-table th,
    .stock-table td {
        padding: 8px 4px;
        font-size: 12px;
    }
}

.header {
    background-color: #fff;
    padding: 16px 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    column-gap: 15px;
}



.tab.active {
    border-bottom: 2px solid #1890ff;
}

</style>
